#ifndef C_QMENUDATA_H
#define C_QMENUDATA_H

/****************************************************************************
** QMenuItem C bindings generated from reading C++ file 'qmenudata.h'
**
** Created: Tue Jul 30 19:22:32 2002
**      by: The Qt Meta Object Compiler ($Revision: 2.53 $)
**
** WARNING! All changes made in this file will be lost!
*****************************************************************************/

C_EXPORT QMenuItemH QMenuItem_create();
C_EXPORT void QMenuItem_destroy(QMenuItemH handle);
C_EXPORT int QMenuItem_id(QMenuItemH handle);
C_EXPORT QIconSetH QMenuItem_iconSet(QMenuItemH handle);
C_EXPORT void QMenuItem_text(QMenuItemH handle, PWideString retval);
C_EXPORT void QMenuItem_whatsThis(QMenuItemH handle, PWideString retval);
C_EXPORT QPixmapH QMenuItem_pixmap(QMenuItemH handle);
C_EXPORT QPopupMenuH QMenuItem_popup(QMenuItemH handle);
C_EXPORT QWidgetH QMenuItem_widget(QMenuItemH handle);
C_EXPORT QCustomMenuItemH QMenuItem_custom(QMenuItemH handle);
C_EXPORT int QMenuItem_key(QMenuItemH handle);
C_EXPORT QSignalH QMenuItem_signal(QMenuItemH handle);
C_EXPORT bool QMenuItem_isSeparator(QMenuItemH handle);
C_EXPORT bool QMenuItem_isEnabled(QMenuItemH handle);
C_EXPORT bool QMenuItem_isChecked(QMenuItemH handle);
C_EXPORT bool QMenuItem_isDirty(QMenuItemH handle);
C_EXPORT void QMenuItem_setText(QMenuItemH handle, PWideString text);
C_EXPORT void QMenuItem_setDirty(QMenuItemH handle, bool dirty);
C_EXPORT void QMenuItem_setWhatsThis(QMenuItemH handle, PWideString text);

C_EXPORT void QCustomMenuItem_destroy(QCustomMenuItemH handle);
C_EXPORT bool QCustomMenuItem_fullSpan(QCustomMenuItemH handle);
C_EXPORT bool QCustomMenuItem_isSeparator(QCustomMenuItemH handle);
C_EXPORT void QCustomMenuItem_setFont(QCustomMenuItemH handle, const QFontH font);
C_EXPORT void QCustomMenuItem_paint(QCustomMenuItemH handle, QPainterH p, const QColorGroupH cg, bool act, bool enabled, int x, int y, int w, int h);
C_EXPORT void QCustomMenuItem_sizeHint(QCustomMenuItemH handle, PSize retval);
C_EXPORT QMenuDataH QMenuData_create();
C_EXPORT void QMenuData_destroy(QMenuDataH handle);
C_EXPORT uint QMenuData_count(QMenuDataH handle);
C_EXPORT int QMenuData_insertItem(QMenuDataH handle, PWideString text, const QObjectH receiver, const char* member, int accel, int id, int index);
C_EXPORT int QMenuData_insertItem2(QMenuDataH handle, const QIconSetH icon, PWideString text, const QObjectH receiver, const char* member, int accel, int id, int index);
C_EXPORT int QMenuData_insertItem3(QMenuDataH handle, const QPixmapH pixmap, const QObjectH receiver, const char* member, int accel, int id, int index);
C_EXPORT int QMenuData_insertItem4(QMenuDataH handle, const QIconSetH icon, const QPixmapH pixmap, const QObjectH receiver, const char* member, int accel, int id, int index);
C_EXPORT int QMenuData_insertItem5(QMenuDataH handle, PWideString text, int id, int index);
C_EXPORT int QMenuData_insertItem6(QMenuDataH handle, const QIconSetH icon, PWideString text, int id, int index);
C_EXPORT int QMenuData_insertItem7(QMenuDataH handle, PWideString text, QPopupMenuH popup, int id, int index);
C_EXPORT int QMenuData_insertItem8(QMenuDataH handle, const QIconSetH icon, PWideString text, QPopupMenuH popup, int id, int index);
C_EXPORT int QMenuData_insertItem9(QMenuDataH handle, const QPixmapH pixmap, int id, int index);
C_EXPORT int QMenuData_insertItem10(QMenuDataH handle, const QIconSetH icon, const QPixmapH pixmap, int id, int index);
C_EXPORT int QMenuData_insertItem11(QMenuDataH handle, const QPixmapH pixmap, QPopupMenuH popup, int id, int index);
C_EXPORT int QMenuData_insertItem12(QMenuDataH handle, const QIconSetH icon, const QPixmapH pixmap, QPopupMenuH popup, int id, int index);
C_EXPORT int QMenuData_insertItem13(QMenuDataH handle, QWidgetH widget, int id, int index);
C_EXPORT int QMenuData_insertItem14(QMenuDataH handle, const QIconSetH icon, QCustomMenuItemH custom, int id, int index);
C_EXPORT int QMenuData_insertItem15(QMenuDataH handle, QCustomMenuItemH custom, int id, int index);
C_EXPORT int QMenuData_insertSeparator(QMenuDataH handle, int index);
C_EXPORT void QMenuData_removeItem(QMenuDataH handle, int id);
C_EXPORT void QMenuData_removeItemAt(QMenuDataH handle, int index);
C_EXPORT void QMenuData_clear(QMenuDataH handle);
C_EXPORT int QMenuData_accel(QMenuDataH handle, int id);
C_EXPORT void QMenuData_setAccel(QMenuDataH handle, int key, int id);
C_EXPORT QIconSetH QMenuData_iconSet(QMenuDataH handle, int id);
C_EXPORT void QMenuData_text(QMenuDataH handle, PWideString retval, int id);
C_EXPORT QPixmapH QMenuData_pixmap(QMenuDataH handle, int id);
C_EXPORT void QMenuData_setWhatsThis(QMenuDataH handle, int id, PWideString p2);
C_EXPORT void QMenuData_whatsThis(QMenuDataH handle, PWideString retval, int id);
C_EXPORT void QMenuData_changeItem(QMenuDataH handle, int id, PWideString text);
C_EXPORT void QMenuData_changeItem2(QMenuDataH handle, int id, const QPixmapH pixmap);
C_EXPORT void QMenuData_changeItem3(QMenuDataH handle, int id, const QIconSetH icon, PWideString text);
C_EXPORT void QMenuData_changeItem4(QMenuDataH handle, int id, const QIconSetH icon, const QPixmapH pixmap);
C_EXPORT void QMenuData_changeItem5(QMenuDataH handle, PWideString text, int id);
C_EXPORT void QMenuData_changeItem6(QMenuDataH handle, const QPixmapH pixmap, int id);
C_EXPORT void QMenuData_changeItem7(QMenuDataH handle, const QIconSetH icon, PWideString text, int id);
C_EXPORT bool QMenuData_isItemEnabled(QMenuDataH handle, int id);
C_EXPORT void QMenuData_setItemEnabled(QMenuDataH handle, int id, bool enable);
C_EXPORT bool QMenuData_isItemChecked(QMenuDataH handle, int id);
C_EXPORT void QMenuData_setItemChecked(QMenuDataH handle, int id, bool check);
C_EXPORT void QMenuData_updateItem(QMenuDataH handle, int id);
C_EXPORT int QMenuData_indexOf(QMenuDataH handle, int id);
C_EXPORT int QMenuData_idAt(QMenuDataH handle, int index);
C_EXPORT void QMenuData_setId(QMenuDataH handle, int index, int id);
C_EXPORT bool QMenuData_connectItem(QMenuDataH handle, int id, const QObjectH receiver, const char* member);
C_EXPORT bool QMenuData_disconnectItem(QMenuDataH handle, int id, const QObjectH receiver, const char* member);
C_EXPORT bool QMenuData_setItemParameter(QMenuDataH handle, int id, int param);
C_EXPORT int QMenuData_itemParameter(QMenuDataH handle, int id);
C_EXPORT QMenuItemH QMenuData_findItem(QMenuDataH handle, int id);
C_EXPORT QMenuItemH QMenuData_findItem2(QMenuDataH handle, int id, QMenuDataH * parent);
C_EXPORT void QMenuData_activateItemAt(QMenuDataH handle, int index);

#endif
